Skip to content

NET_SDK_ALARMINFO

Structure Definition

1
2
3
4
5
6
7
typedef struct _net_sdk_alarminfo
{
    DWORD dwAlarmType; 
    DWORD dwSensorIn;  
    DWORD dwChannel;   
    DWORD dwDisk;      
} NET_SDK_ALARMINFO;
1
2
3
4
5
6
7
8
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_ALARMINFO
{
    public UInt32 dwAlarmType;
    public UInt32 dwSensorIn;
    public UInt32 dwChannel;
    public UInt32 dwDisk;
}

Function Description

Alarm information structure.

Member Description

Member Type Remark
dwAlarmType DWORD For alarm type, refer to NET_SDK_N9000_ALARM_TYPE.
dwSensorIn DWORD Sensor alarm input port number.
dwChannel DWORD When the alarm is related to the channel, the channel number of the alarm is indicated, starting from 0, and when it is related to the door lock and door magnet, the number is indicated, both starting from 1.
dwDisk DWORD In case of disk alarm, it indicates the disk number that generates the alarm.
Error Code